#!/bin/bash
#set -e
inputmessage=$1
#echo $inputmessage
if [ -z "$inputmessage" ]
then
	cur_dateTime=`date +"%Y-%m-%d %H:%m:%s"`
	inputmessage=$cur_dateTime
fi
echo $inputmessage
git add .
git commit -m "$inputmessage"
git push
echo 'finish'

